home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / realjoy.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-28  |  454 b   |  30 lines

  1. #ifndef REALJOY_H
  2. #define REALJOY_H
  3.  
  4. #define LJOYMASK 0x01
  5. #define RJOYMASK 0x02
  6. #define UJOYMASK 0x04
  7. #define DJOYMASK 0x08
  8. #define B1JOYMASK 0x10
  9. #define B2JOYMASK 0x20
  10.  
  11. /* This should be called from xxx_keyb.c */
  12. int
  13. get_realjoy(int stick);
  14.  
  15. /* This should be called once per frame */
  16. void 
  17. update_realjoy(void);
  18.  
  19. /* These can be called from anywhere. */
  20. void
  21. calibrate_realjoy(int stick);
  22.  
  23. void
  24. init_realjoy(void);
  25.  
  26. void
  27. close_realjoy(void);
  28.  
  29. #endif
  30.